#!/bin/sh
set -x

project=$(cd `dirname $0`; pwd)
name=blog2021
pid=`cat $project/$name.pid`

git pull
go build

kill -9 $pid
./$name -d
